package com.sims.bean;

import java.sql.Timestamp;

/**
 * Student entity. @author MyEclipse Persistence Tools
 */

public class Student implements java.io.Serializable {

	// Fields

	private Integer sid;
	private String sno;
	private String password;
	private String name;
	private Boolean sex;
	private Timestamp birthday;
	private String nation;
	private String degree;
	private String politicalStatus;
	private String idcard;
	private String photoLocation;
	private Timestamp enrollmentTime;
	private Timestamp graduateTime;
	private Integer cid;
	private Integer seatNo;
	private String tel;
	private String profile;

	// Constructors

	/** default constructor */
	public Student() {
	}

	/** minimal constructor */
	public Student(String sno) {
		this.sno = sno;
	}

	/** full constructor */
	public Student(String sno, String password, String name, Boolean sex,
			Timestamp birthday, String nation, String degree,
			String politicalStatus, String idcard, String photoLocation,
			Timestamp enrollmentTime, Timestamp graduateTime, Integer cid,
			Integer seatNo, String tel, String profile) {
		this.sno = sno;
		this.password = password;
		this.name = name;
		this.sex = sex;
		this.birthday = birthday;
		this.nation = nation;
		this.degree = degree;
		this.politicalStatus = politicalStatus;
		this.idcard = idcard;
		this.photoLocation = photoLocation;
		this.enrollmentTime = enrollmentTime;
		this.graduateTime = graduateTime;
		this.cid = cid;
		this.seatNo = seatNo;
		this.tel = tel;
		this.profile = profile;
	}

	// Property accessors

	public Integer getSid() {
		return this.sid;
	}

	public void setSid(Integer sid) {
		this.sid = sid;
	}

	public String getSno() {
		return this.sno;
	}

	public void setSno(String sno) {
		this.sno = sno;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Boolean getSex() {
		return this.sex;
	}

	public void setSex(Boolean sex) {
		this.sex = sex;
	}

	public Timestamp getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Timestamp birthday) {
		this.birthday = birthday;
	}

	public String getNation() {
		return this.nation;
	}

	public void setNation(String nation) {
		this.nation = nation;
	}

	public String getDegree() {
		return this.degree;
	}

	public void setDegree(String degree) {
		this.degree = degree;
	}

	public String getPoliticalStatus() {
		return this.politicalStatus;
	}

	public void setPoliticalStatus(String politicalStatus) {
		this.politicalStatus = politicalStatus;
	}

	public String getIdcard() {
		return this.idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public String getPhotoLocation() {
		return this.photoLocation;
	}

	public void setPhotoLocation(String photoLocation) {
		this.photoLocation = photoLocation;
	}

	public Timestamp getEnrollmentTime() {
		return this.enrollmentTime;
	}

	public void setEnrollmentTime(Timestamp enrollmentTime) {
		this.enrollmentTime = enrollmentTime;
	}

	public Timestamp getGraduateTime() {
		return this.graduateTime;
	}

	public void setGraduateTime(Timestamp graduateTime) {
		this.graduateTime = graduateTime;
	}

	public Integer getCid() {
		return this.cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public Integer getSeatNo() {
		return this.seatNo;
	}

	public void setSeatNo(Integer seatNo) {
		this.seatNo = seatNo;
	}

	public String getTel() {
		return this.tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getProfile() {
		return this.profile;
	}

	public void setProfile(String profile) {
		this.profile = profile;
	}

}